//封装具体的业务请求
import {request} from './core'
import {GET,path} from './config'

const APIClient ={
    //分类
    getClassify(params){
        return request(GET,path.classify,params)
    },
    //商品列表
    getGoodsList(params){
        return request(GET,path.goodsList,params)
    },
    //商品详情
    getGoodsDetails(params){
        return request(GET,path.goodsdetails,params)
    },
}
export default APIClient;